﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace WebCastleWindsor.Models
{
    public class BlogContext:DbContext
    {
        public BlogContext() : base("name=BlogConnect")
        {

        }

        public DbSet<Blog> Blogs { get; set; }
        public DbSet<Comment> Comments { get; set; }
    }
}